<template>
  <div class="componentsbox">
    <div class="searchbox">
      <div class="C_fastInsure">
          <div><span></span><span></span><span></span></div><div class="C_immediately"></div>
      </div>
    </div>
    
  </div>
</template>

<script>
export default {
  name: "searchBox",

 
  data() {
    return {
    };
  },
  
  mounted() {
   
  },
  methods: {
    
    
  },
 
  
};
</script>
<style scoped lang="scss">
::v-deep .el-input__inner{
  border: none !important;
 

}
.componentsbox{
  width: 1200px;
 height: 182px;
  margin: 0 auto;

  .searchbox{
    width: 100%;
    height: 100%;
    max-width: 1200px;margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    // padding-left: 50px;
    box-sizing: border-box;
    .C_fastInsure{
      width: 100%;
        position: relative;
        height: 142px;
        background: url("../../../assets/images/fastInsureBg.png") no-repeat center 0;
        background-size: 1150px 142px;
    }
    .C_fastInsure .C_immediately{
      display: none;
        position: absolute;
        bottom: 28px;
        right: 45px;
        width: 100px;
        height: 100px;
        background: url("../../../assets/images/immediately.png") no-repeat center center;
        background-size: 88px 88px;
        cursor: pointer;
    }
    .C_fastInsure .C_immediately:hover{
        background-size: 100px 100px;
    }
    .C_fastInsure>div:nth-child(1){
        position: absolute;
        top: 0;
        left: 0;
        width: 224px;
        height: 142px;
    }
    .C_fastInsure>div:nth-child(1)>span{
        display: inline-block;
    }
    .C_fastInsure>div:nth-child(1)>span:nth-child(1){
        position: absolute;
        left: 85px;
        bottom: 82px;
        width: 14px;
        height: 20px;
        background: url("../../../assets/images/2.2.png") no-repeat center bottom;
        background-size: 12px 16px;
        animation: twinkle1 5s infinite;
        animation-delay:2s;
        -moz-animation: twinkle1 5s infinite;	/* Firefox */
        -moz-animation-delay:2s;
        -webkit-animation: twinkle1 5s infinite;	/* Safari 和 Chrome */
        -webkit-animation-delay:2s;
        -o-animation: twinkle1 5s infinite;	/* Opera */
        -o-animation-delay:2s;
    }
    .C_fastInsure>div:nth-child(1)>span:nth-child(2){
        position: absolute;
        left: 125px;
        bottom: 108px;
        width: 35px;
        height: 44px;
        background: url("../../../assets/images/1.2.png") no-repeat center bottom;
        background-size: 28px 35px;
        animation: twinkle2 3.5s infinite;
        animation-delay:0s;
        -moz-animation: twinkle2 3.5s infinite;	/* Firefox */
        -moz-animation-delay:0s;
        -webkit-animation: twinkle2 3.5s infinite;	/* Safari 和 Chrome */
        -webkit-animation-delay:0s;
        -o-animation: twinkle2 3.5s infinite;	/* Opera */
        -o-animation-delay:0s;
    }
    .C_fastInsure>div:nth-child(1)>span:nth-child(3){
        position: absolute;
        right: 20px;
        bottom: 80px;
        width: 15px;
        height: 17px;
        background: url("../../../assets/images/3.2.png") no-repeat center bottom;
        background-size: 12px 14px;
        animation: twinkle3 5s infinite;
        animation-delay:5s;
        -moz-animation: twinkle3 5s infinite;	/* Firefox */
        -moz-animation-delay:5s;
        -webkit-animation: twinkle3 5s infinite;	/* Safari 和 Chrome */
        -webkit-animation-delay:5s;
        -o-animation: twinkle3 5s infinite;	/* Opera */
        -o-animation-delay:5s;
    }

    @keyframes twinkle1
    {
        0%   {background-size: 12px 16px;}
        10%  {background-size: 14px 20px;}
        15%  {background-size: 12px 16px;}
        100% {background-size: 12px 16px;}
    }
    @keyframes twinkle2
    {
        0%   {background-size: 28px 35px;}
        10%  {background-size: 35px 44px;}
        15%  {background-size: 28px 35px;}
        100% {background-size: 28px 35px;}
    }
    @keyframes twinkle3
    {
        0%   {background-size: 12px 14px;}
        10%  {background-size: 15px 17px;}
        15%  {background-size: 12px 14px;}
        100% {background-size: 12px 14px;}
    }
  }
  .logo{
    flex: 0 0 auto;
    width: 71px;
    height: 88px;
    cursor: pointer;
    img{
      width: 100%;
      height: 100%;
    }
  }
  .logo:hover{
    img{
      transform: scale(1.1);

    }
  }
  .search{
    margin-left: 10%;
     width: 100%;
    
    .inputbox{
      width: 75%;
      height: 38px;
      border-radius: 7px 7px 7px 7px;
      border: 1px solid #0672F9;
      background: #f7f8fc;
      display: flex;
      align-items: center;
      padding: 0 0 0 16px;
      .btn{
        width: 96px;
        height: 34px;
        background: #0672F9;
        border-radius: 6px 6px 6px 6px;
        color: #fff;
        margin-right: 2px;
      }
      .btn:hover{
        opacity: 0.7;
      }
    }
    .inputbox:hover{
      border: 1px solid #0672F9;
    }
    .search-history{
      margin-top: 8px;
      width: 75%;
      overflow: hidden;
      display: flex;
      align-items: center;
      .history-item{
        margin-right: 30px;
        font-weight: 400;
        font-size: 12px;
        color: #4F4F4F;
        white-space: nowrap;
        text-align: left;
        cursor: pointer;
        &:hover{
          color: #0672F9;
        }
      }
    }
  }
}
</style>
